package com.ywu.dev.admin.sdk.configuration;

import io.micrometer.core.instrument.MeterRegistry;
import io.micrometer.core.instrument.simple.SimpleMeterRegistry;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @ClassName MeterRegistryConfiguration
 * @Description TODO
 * @Author GroundDemo
 * @Date 2025/3/25 9:02
 * @Version 1.0
 **/
@Configuration
@EnableFeignClients(basePackages = {"com.ywu.dev.admin.spi"})
@EnableScheduling
public class MeterRegistryConfiguration {

    @Bean
    public MeterRegistry meterRegistry() {
        return new SimpleMeterRegistry();
    }



}
